
package gov.nih.nlm.ncbi.soap.eutils.espell;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/espell}Database"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/espell}Query"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/espell}CorrectedQuery"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/espell}SpelledQuery"/>
 *         &lt;element ref="{http://www.ncbi.nlm.nih.gov/soap/eutils/espell}ERROR"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "database",
    "query",
    "correctedQuery",
    "spelledQuery",
    "error"
})
@XmlRootElement(name = "eSpellResult")
public class ESpellResult {

    @XmlElement(name = "Database", required = true)
    protected String database;
    @XmlElement(name = "Query", required = true)
    protected String query;
    @XmlElement(name = "CorrectedQuery", required = true)
    protected String correctedQuery;
    @XmlElement(name = "SpelledQuery", required = true)
    protected SpelledQuery spelledQuery;
    @XmlElement(name = "ERROR", required = true)
    protected String error;

    /**
     * Gets the value of the database property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDatabase() {
        return database;
    }

    /**
     * Sets the value of the database property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDatabase(String value) {
        this.database = value;
    }

    /**
     * Gets the value of the query property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getQuery() {
        return query;
    }

    /**
     * Sets the value of the query property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setQuery(String value) {
        this.query = value;
    }

    /**
     * Gets the value of the correctedQuery property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCorrectedQuery() {
        return correctedQuery;
    }

    /**
     * Sets the value of the correctedQuery property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCorrectedQuery(String value) {
        this.correctedQuery = value;
    }

    /**
     * Gets the value of the spelledQuery property.
     * 
     * @return
     *     possible object is
     *     {@link SpelledQuery }
     *     
     */
    public SpelledQuery getSpelledQuery() {
        return spelledQuery;
    }

    /**
     * Sets the value of the spelledQuery property.
     * 
     * @param value
     *     allowed object is
     *     {@link SpelledQuery }
     *     
     */
    public void setSpelledQuery(SpelledQuery value) {
        this.spelledQuery = value;
    }

    /**
     * Gets the value of the error property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getERROR() {
        return error;
    }

    /**
     * Sets the value of the error property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setERROR(String value) {
        this.error = value;
    }

}
